package com.template.app.support;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

public class DaoSupport extends HibernateDaoSupport {

	@Autowired
	@Qualifier("sessionFactory")
    public void setSession(SessionFactory sessionFactory) {
        setSessionFactory(sessionFactory);
    }
}
